﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PhotoGalleryEnteties
{
    public class PhotoComment
    {
        
        public virtual int CommentId{get;set;}
        public virtual string Comment {get;set;}
        public virtual DateTime AdditionDate{get;set;}
       
        public virtual GalleryUser Author {get;set;}
        public virtual PhotoComment ParentComment{get;set;}
        public virtual ICollection< PhotoComment > ChildComments{get;set;}
        public virtual PhotoInfo Photo{get;set;}
    }
}
